package com.itbaizhan.shopping_order_service;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 订单服务
 */
@EnableDiscoveryClient//注册服务
@EnableDubbo//启用dubbo功能
@RefreshScope//配置文件热加载
@SpringBootApplication//启用springboot功能
@MapperScan("com.itbaizhan.shopping_order_service.mapper")//扫描mapper
public class ShoppingOrderServiceApplication {
	public static void main(String[] args) {
		SpringApplication.run(ShoppingOrderServiceApplication.class, args);
	}
}

